package com.matrix.async.bean;

import java.io.Serializable;
import java.util.Date;
/**
 *
 * @date 2017-09-03 16:15
 */
public class AsyncLockBean implements Serializable{

	private static final long serialVersionUID = 1L; 
	private String  id;
			
	
	private Date  createTime;
			
	
	private String  createBy;
			
	
	/**
	 * 线程获取锁的时间
	 */
	private Date  lockedTime;
			
	
	/**
	 * 线程获取任务的时间
	 */
	private Date  getTaskTime;
			
	

	public String getId() {
		return id;
	}
   	
   	public void setId(String id) {
		this.id=id;
	}
   	

	public Date getCreateTime() {
		return createTime;
	}
   	
   	public void setCreateTime(Date createTime) {
		this.createTime=createTime;
	}
   	

	public String getCreateBy() {
		return createBy;
	}
   	
   	public void setCreateBy(String createBy) {
		this.createBy=createBy;
	}
   	

	public Date getLockedTime() {
		return lockedTime;
	}
   	
   	public void setLockedTime(Date lockedTime) {
		this.lockedTime=lockedTime;
	}
   	

	public Date getGetTaskTime() {
		return getTaskTime;
	}
   	
   	public void setGetTaskTime(Date getTaskTime) {
		this.getTaskTime=getTaskTime;
	}
   	

	@Override
	public String toString() {
		return "{AsyncLock:{"
		+"id:"+id+","
		+"createTime:"+createTime+","
		+"createBy:"+createBy+","
		+"lockedTime:"+lockedTime+","
		+"getTaskTime:"+getTaskTime+","
		+"}}";
	}


  
}